package com.yuqiangz.spring5.service;

import com.yuqiangz.spring5.dao.UserDao;

/**
 * @author 赵雨强
 * @create 2021/7/18 21:24
 * @description
 */
public class UserService {


    private UserDao userDao;

    public UserDao getUserDao() {
        return userDao;
    }

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    public void add(){
        System.out.println("Service add ....");
        userDao.update();
    }
}
